package org.fenixsoft.jvm.chapter10;

import org.junit.Test;

import java.util.Arrays;
import java.util.List;

/**
 * 使用jdk6进行编译
 */
public class AutoBoxing2 {

    @Test
    public void test2(){
        Integer i1 = new Integer(1);
        Integer i2 = new Integer(1);
        System.out.println(i1 == i2);

        Integer a = 1;
        Integer b = 1;
        System.out.println(a == b);
    }

}
